package com.atguigu.day07;

import com.atguigu.day06.Test06;

public class Test03 {
    public static void main(String[] args) {
        Citizen c1 = new Citizen();
        c1.bir = new MyDate();
        c1.name = "母亲";
        c1.bir.year = 1975;
        c1.bir.month = 10;
        c1.bir.day = 5;
        c1.id = "32424153153154";
        System.out.println("c1的姓名是:" + c1.name + "，生日是:" + c1.bir.year + "年" + c1.bir.month + "月" + c1.bir.day + "日,身份证号是:" + c1.id);
    }
}

class Citizen {
    String name;
    MyDate bir;
    String id;
}

